package com.printerSpring;

import java.awt.*;

public class ColoeInk implements Ink {

    @Override
    public String getColoe(int r, int g, int b) {
        Color color  = new Color( r, g, b);
        return "#"+Integer.toHexString(color.getRGB()).substring(2);
    }
}
